import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import axios from 'axios'
// 引入mixin
import mixin from './mixin/index.js'
Vue.config.productionTip = false
// 全局混入
// 祖册方法是Vue.mixin()  而不是Vue.use()
//   谨慎使用全局混入
// Vue.mixin(mixin)
Vue.prototype.$axios = axios
// store.prototype.$axios = axios
let vm = new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')

console.log(vm);